import request from '@/utils/request';

export async function reqTyPatientList(data: any, options?: any): Promise<any> {
	return request('/api/v1/patient/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyPatient(data: any, options?: any): Promise<any> {
	return request('/api/sys/patient/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyPatient(data: any, options?: any): Promise<any> {
	return request('/api/sys/patient/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyPatient(data: any, options?: any): Promise<any> {
	return request('/api/sys/patient/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


